using System;
using System.Collections.Generic;
using System.Text;
using Pay.TO;

namespace Pay.Data {
	/// <summary>
	/// 支付信息表：mc_PayInfo
	/// </summary>
	public partial class PayInfo {
		public PayInfo() {
            Orders =new List<Order>();
		}

		/// <summary>
		/// 支付信息id
		/// </summary>
		public long Id { get; set; }
		/// <summary>
		/// 单号
		/// </summary>
		public string OrderNo { get; set; }
		/// <summary>
		/// 通道
		/// </summary>
		public PayChannel PayChannel { get; set; }
		/// <summary>
		/// 支付类型：1扫码，2快捷支付,3网关，4公众号/服务窗
		/// </summary>
		public PayType PayType { get; set; }
		/// <summary>
		/// 支付方式：微信扫码支付WXPAY_QR，支付宝扫码支付ALIPAY_QR，京东扫码支付JDPAY_QR,银联扫码支付UNIONPAY_QR，QQ钱包扫码支付QQ_QR，
		/// 微信付款码支付WXPAY_MICRO,支付宝款码支付ALIPAY_MICRO,
		/// 微信公众账号支付WXPAY_JS,支付宝服务窗支付ALIPAY_JS,
		/// 微信APP支付WXPAY_APP,支付宝APP支付ALIPAY_APP,
		/// 银联快捷支付UNIONPAY，B2B网关支付GATEWAY,代付PAYOFF
		/// </summary>
		public string PayCode { get; set; }
		/// <summary>
		/// 支付名称：支付宝，微信，银联，京东
		/// </summary>
		public string PayName { get; set; }
		/// <summary>
		/// 结算类型:T0,T1
		/// </summary>
		public string SettleType { get; set; }
		/// <summary>
		/// 支付单号
		/// </summary>
		public string PayNo { get; set; }
		/// <summary>
		/// 交易流水单号（第三方TranSeqId返回）
		/// </summary>
		public string TransactionNo { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public long CreateTime { get; set; }
		/// <summary>
		/// 支付时间
		/// </summary>
		public long? PayTime { get; set; }
        /// <summary>
        /// 单号Id
        /// </summary>
        public long? BoardId { get; set; }
        /// <summary>
        /// 板号Id
        /// </summary>
        public long? PlateId { get; set; }
		/// <summary>
		/// 订单集合
		/// </summary>
		public virtual ICollection<Order> Orders { get; set; }
    }
}